package com.borya.model.db;
/**
 * 此类保存商户申请售卡权限相关信息
 * @author borya
 *
 */
public class ApplyPower {
	private String order_id;//订单号
	private String dealer_id;//商户号
	private int status;//0初始状态1待审核（已分配）2通过3拒绝
	private String customer_id;//审核人员id
	private String customer_name;//审核人姓名
	private long create_time;//创建时间
	private long modify_time;//修改时间
	private int before_power;//1234 ABCD
	private int apply_power;//1234 ABCD
	private String img;//图片路径
	private String user_id;//工号
	private String user_name;//姓名
	private int merchant_attribute;//1 : A 远特发展线	2 : B 联通发展线	3 : C A申请联通卡权限	4 : D B申请远特卡权限
	private int attribute_status;//0无 1申请权限中 
	private int merchant_status;//0已激活1待激活2已申请设备
	private String company_name;//商户名
	private String user_phone;//用户手机号
	private long customer_phone;//审核人手机号
	private String scopeId;//申请售卡范围
	private String latitude;
	private String longitude;
	private String reqAddress;


	@Override
	public String toString() {
		final StringBuilder sb = new StringBuilder("ApplyPower{");
		sb.append("order_id='").append(order_id).append('\'');
		sb.append(", dealer_id='").append(dealer_id).append('\'');
		sb.append(", status=").append(status);
		sb.append(", customer_id='").append(customer_id).append('\'');
		sb.append(", customer_name='").append(customer_name).append('\'');
		sb.append(", create_time=").append(create_time);
		sb.append(", modify_time=").append(modify_time);
		sb.append(", before_power=").append(before_power);
		sb.append(", apply_power=").append(apply_power);
		sb.append(", img='").append(img).append('\'');
		sb.append(", user_id='").append(user_id).append('\'');
		sb.append(", user_name='").append(user_name).append('\'');
		sb.append(", merchant_attribute=").append(merchant_attribute);
		sb.append(", attribute_status=").append(attribute_status);
		sb.append(", merchant_status=").append(merchant_status);
		sb.append(", company_name='").append(company_name).append('\'');
		sb.append(", user_phone='").append(user_phone).append('\'');
		sb.append(", customer_phone=").append(customer_phone);
		sb.append(", scopeId='").append(scopeId).append('\'');
		sb.append(", latitude='").append(latitude).append('\'');
		sb.append(", longitude='").append(longitude).append('\'');
		sb.append(", reqAddress='").append(reqAddress).append('\'');
		sb.append('}');
		return sb.toString();
	}

	public String getReqAddress() {
		return reqAddress;
	}

	public void setReqAddress(String reqAddress) {
		this.reqAddress = reqAddress;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getOrder_id() {
		return order_id;
	}
	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}
	public String getDealer_id() {
		return dealer_id;
	}
	public void setDealer_id(String dealer_id) {
		this.dealer_id = dealer_id;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getCustomer_id() {
		return customer_id;
	}
	public void setCustomer_id(String customer_id) {
		this.customer_id = customer_id;
	}
	public String getCustomer_name() {
		return customer_name;
	}
	public void setCustomer_name(String customer_name) {
		this.customer_name = customer_name;
	}
	public long getCreate_time() {
		return create_time;
	}
	public void setCreate_time(long create_time) {
		this.create_time = create_time;
	}
	public long getModify_time() {
		return modify_time;
	}
	public void setModify_time(long modify_time) {
		this.modify_time = modify_time;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public int getMerchant_attribute() {
		return merchant_attribute;
	}
	public void setMerchant_attribute(int merchant_attribute) {
		this.merchant_attribute = merchant_attribute;
	}
	public int getAttribute_status() {
		return attribute_status;
	}
	public void setAttribute_status(int attribute_status) {
		this.attribute_status = attribute_status;
	}
	public int getMerchant_status() {
		return merchant_status;
	}
	public void setMerchant_status(int merchant_status) {
		this.merchant_status = merchant_status;
	}
	public String getCompany_name() {
		return company_name;
	}
	public void setCompany_name(String company_name) {
		this.company_name = company_name;
	}
	public int getBefore_power() {
		return before_power;
	}
	public void setBefore_power(int before_power) {
		this.before_power = before_power;
	}
	public int getApply_power() {
		return apply_power;
	}
	public void setApply_power(int apply_power) {
		this.apply_power = apply_power;
	}
	
	public long getCustomer_phone() {
		return customer_phone;
	}
	public void setCustomer_phone(long customer_phone) {
		this.customer_phone = customer_phone;
	}
	public String getScopeId() {
		return scopeId;
	}
	public void setScopeId(String scopeId) {
		this.scopeId = scopeId;
	}

	public String getUser_phone() {
		return user_phone;
	}
	public void setUser_phone(String user_phone) {
		this.user_phone = user_phone;
	}
	
}
